import { Component } from '@angular/core';
import { Router } from '@angular/router';
@Component({
  templateUrl: 'app.html'
})
export class MyApp {
  constructor(private router:Router) { 
  }
  ngOnInit(): void {
    this.router.navigate(['home']);
  }
}